//package com.ruoyi.psi.base.producealarm.service;
//
//import com.ruoyi.psi.base.producealarm.domain.ProduceAlarmCond;
//import com.ruoyi.psi.base.producealarm.domain.ProduceAlarmDomain;
//import com.ruoyi.psi.base.producealarm.domain.ProduceAlarmDto;
//import com.ruoyi.psi.base.producealarm.mapper.ProduceAlarmMapper;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import java.util.List;
//
///**
// * 产品报警阈值
// * 业务执行层
// * @author Drj 2021/6/28
// */
//@Service
//public class ProduceAlarmServiceImpl implements IProduceAlarmService {
//    @Autowired
//    private ProduceAlarmMapper produceAlarmMapper;
//
//    /**
//     * 查询产品报警阈值
//     *
//     * @param cond
//     * @return
//     */
//    @Override
//    public List<ProduceAlarmDto> selectProduceAlarmList(ProduceAlarmCond cond) {
//        return produceAlarmMapper.selectProduceAlarmList(cond);
//    }
//
//    /**
//     * 修改产品报警阈值
//     *
//     * @param produceAlarms
//     * @return
//     */
//    @Override
//    public int updateProduceAlarm(List<ProduceAlarmDomain> produceAlarms) {
//        return produceAlarmMapper.updateProduceAlarm(produceAlarms);
//    }
//}
